package cn.blnp.net.flowable.boot.service;

import org.flowable.engine.runtime.ProcessInstance;

/**
 * <h3>自定义流程撤销服务接口</h3>
 *
 * @author <a href="mailto:blnp.yibin@qq.com">lyb</a>
 * @version 1.0
 * @since 2025/6/19 10:44
 */
public interface RevokeProcessInstanceService {

    /**
     * <p><b>用途:撤销指定流程实例<b></p>
     * @author <a href="mailto:blnp.yibin@qq.com">lyb</a>
     * @since 10:45 2025/6/19
     * @params [processInstanceId]
     * @param processInstanceId
     * @return org.flowable.engine.runtime.ProcessInstance
    **/
    public ProcessInstance executeRevoke(String processInstanceId);
}
